UsherAccountSDK Initialization and Configuration

  • The primary entry point for all apps using UsherAccountSDK. Every app that uses the UsherAccountSDK needs to initialize it with an UsherSDKConfiguration object. This class also provides other high level APIs such as resetting all user data.

    Declaration

    Swift

    @objc
    public class UsherSDK : NSObject
  • An instance of UsherSDKConfiguration is required to initialize the SDK. Create an instance and configure it for your application before initializing the UsherAccountSDK.

    Declaration

    Swift

    @objc
    public class UsherSDKConfiguration : NSObject
  • UsherSDKNotification is an enum that contains all the defined NSNotification names used in UsherAccountSDK.

    Remark

    When observing for UsherSDKNotification from ObjectiveC, it is recommended to use the NSNotification helper method +(NSString *)nameWithUsherSDKNotification: to get the string value. Do not use the string form of the notification enum.
    Declaration

    Swift

    @objc
    public enum UsherSDKNotification : Int, StringConvertibleEnum